<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="edge" />
  <title>栗豪的书店</title>
  <link type="image/x-icon" rel="shortcut icon"  href="/images/logo.ico">
  <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css">
  <link rel="stylesheet" type="text/css" href="/stylesheets/index.css">
</head>

<body>
  <div class="loginDiv" style="display: none">
    <span class="fa fa-remove remove" title="关闭" id="remove"></span>
    <span class="denglu activ">登录</span>
    <span class="zhuce">注册</span>
    <div class="lDiv" id="lDiv">
      <input type="text" class="user" placeholder="邮箱" onblur="cheackname()">
      <div class="userDiv"></div>
      <input type="password"  class="password" placeholder="密码" onblur="cheackpassword()">
      <div class="passwordDiv"></div>
      <div class="loginBtn" onclick="login()">登录</div>
    </div>
    <div class="zDiv" style="display: none" id="zDiv">
      <input type="text" name="" id="" class="name" placeholder="用户名" onblur="checkna()">
      <div class="nameDiv"></div>
      <input type="text" name="" id="" class="emil" placeholder="邮箱" onblur="checkmail()">
      <div class="emilDiv"></div>
      <input type="password" name="" id="" class="mima" placeholder="密码(数字和字母组成)" onblur="checkpsd1()">
      <div class="mimaDiv"></div>
      <input type="password" name="" id="" class="mima2" placeholder="确认密码" onblur="checkpsd2()">
      <div class="mima2Div"></div>
      <div class="zhuceBtn">注册</div>
    </div>
  </div>
  <audio id="a1"></audio>
  <!--最大的背景-->
  <div class="maxbj">
  </div>
  <!--头部-->
  <top>
    <section class="seck">
      <%if(loginUser){%>
        <div class="register_login" id="userInfo">
          <em>您好 ，</em>
          <%=loginUser.nikename%>
            <a href="/presnol">个人中心</a>
            <a href="javascript:;">退出</a>
        </div>
        <%}else{%>
          <div class="register_login" id="userInfo">
            <em>您好，</em>
            <a href="/login">登录 / 注册</a>
          </div>
          <%}%>
    </section>
  </top>
  <div class="maxbj1">
    <header>
      <b class="logo">
        <a href="/">
          <span class="fa fa-book color" style="font-size:32px;line-height:50px"></span>
        </a>
      </b>
      <search>
        <form  action="/search" method="get">
          <input type="text" placeholder="搜索书名或作者..." required name="search" style=" width:444px; height:30px; text-indent:2em; float:left; box-shadow:none;outline:none">
          <button type="submit">搜索</button>
        </form>
      </search>
      <div class="sping_car">
        <em>
          <a href="/shopCar" style="color:#3CB371">
            <span class="fa fa-cart-plus" style="margin-right:10px"></span>
            <span id="myCar">我的购物车
              <span class="color2">(<%=num%>)</span>
            </span>
          </a>
        </em>
      </div>
    </header>
  </div>
  <!--导航-->
  <section class="dao_hang">
    <nav>
      <!--右下侧广告-->
      <div class="advertisement">
        <h4>
          <span style="float:left" class="newHot color" id="newHot1">最新书籍</span>
          <span style="float:right" class="newHot" id="newHot2">最热书籍</span>
        </h4>
        <div class="notice_new" id="notice_new1">
          <p>
            <a href="/bookDetil/?id=5ac0e87891d01322f0892800" title="《朝花夕拾》 -- 鲁迅">
              <span class="color">【NEW】</span>《朝花夕拾》 -- 鲁迅</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ac0e90491d01322f0892807" title="《寄小读者》 -- 冰心">
              <span class="color">【NEW】</span>《寄小读者》 -- 冰心</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ab8e89e33a1a107b4f220f3" title="《骆驼祥子》 -- 老舍">
              <span class="color">【NEW】</span>《骆驼祥子》 -- 老舍</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ab8e8b633a1a107b4f220f5" title="《边城》 -- 沈从文">
              <span class="color">【NEW】</span>《边城》 -- 沈从文</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ab8e8df33a1a107b4f220f7" title="《半生缘》 -- 张爱玲">
              <span class="color">【NEW】</span>《半生缘》 -- 张爱玲</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ac0eab091d01322f0892817" title="《红玫瑰与白玫瑰》 -- 张爱玲">
              <span class="color">【NEW】</span>《红玫瑰与白玫瑰》 -- 张爱玲</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ac0eaea91d01322f089281a" title="《芳华》 -- 严歌苓">
              <span class="color">【NEW】</span>《芳华》 -- 严歌苓</a>
          </p>
          <a href="javascript:;">
            <div class="notice_img">
              <img src="images/notice1.jpg" class="img1">
              <img src="images/notice2.jpg" class="img2">
            </div>
          </a>
        </div>
        <div class="notice_new" style="display:none" id="notice_new2">
          <p>
            <a href="/bookDetil/?id=5ab8e94333a1a107b4f220fd" title="《解忧杂货店》 -- 东野圭吾">
              <span class="color2">【HOT】</span>《解忧杂货店》 -- 东野圭吾</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ac0eb8891d01322f0892826" title="《白夜行》 -- 东野圭吾">
              <span class="color2">【HOT】</span>《白夜行》 -- 东野圭吾</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ab8e9ce33a1a107b4f22105" title="《京华烟云》 -- 林语堂">
              <span class="color2">【HOT】</span>《京华烟云》 -- 林语堂</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ac0ed8e91d01322f0892838" title="《志摩的诗》 -- 徐志摩">
              <span class="color2">【HOT】</span>《志摩的诗》 -- 徐志摩</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ab8ea2333a1a107b4f22109" title="《北岛诗选》 -- 北岛">
              <span class="color2">【HOT】</span>《北岛诗选》 -- 北岛</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ac0efe991d01322f0892847" title="《戴望舒诗集》 -- 戴望舒">
              <span class="color2">【HOT】</span>《戴望舒诗集》 -- 戴望舒</a>
          </p>
          <p>
            <a href="/bookDetil/?id=5ab8ea5233a1a107b4f2210d" title="《顾城的诗》 -- 顾城">
              <span class="color2">【HOT】</span>《顾城的诗》 -- 顾城</a>
          </p>
          <a href="javascript:;">
            <div class="notice_img">
              <img src="images/notice3.jpeg" class="img1">
              <img src="images/notice4.jpeg" class="img2">
            </div>
          </a>
        </div>
      </div>
      <!--全部书籍分类-->
      <div class="important">
        <img src="images/all_list.png" style=" margin-top:8px">&nbsp;全部书籍分类
        <aside>
          <ul>
            <%var f=0%>
            <%for(var i=0;i<colmun.length;i++){%>
            <li class="cates headerList">
              <h3><%=colmun[i].name%></h3>
              <p>
                <a href="#"><%=author[f].name%></a>
                <a href="#"><%=author[f+1].name%></a>
                <a href="#"><%=author[f+2].name%></a>
                <a href="#"><%=author[f+3].name%></a>
                <i class="floati"> > </i>
              </p>
            </li>
            <%f+=4%>
           <%}%>
          </ul>
        </aside>
        <div>
          <div class="import_list headerBookList">
            <dt>高尔基</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0e6c991d01322f08927e9">《在人间》</a>
              <a href="/bookDetil/?id=5ac0e6a691d01322f08927e7">《我的大学》</a>
              <a href="/bookDetil/?id=5ac0e75191d01322f08927ee">《春天的旋律》</a>
              <a href="/bookDetil/?id=5ab8e6de232f4a26d49b0615">《童年》</a>
              <a href="/bookDetil/?id=5ac0e6f791d01322f08927eb">《海燕》</a>
            </dd>
            <dt>莫泊桑</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0e7ae91d01322f08927f3">《我的叔叔于勒》</a>
              <a href="/bookDetil/?id=5ab8e77d33a1a107b4f220e7">《羊脂球》</a>
              <a href="/bookDetil/?id=5ac0e78b91d01322f08927f0">《项链》</a>
              <a href="/bookDetil/?id=5ac0e79591d01322f08927f1">《一生》</a>
              <a href="/bookDetil/?id=5ac0e7a191d01322f08927f2">《俊友》</a>
            </dd>
            <dt>契科夫</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0e7e691d01322f08927f5">《套中人》</a>
              <a href="/bookDetil/?id=5ac0e7f091d01322f08927f6">《小公务员之死》</a>
              <a href="/bookDetil/?id=5ab8e7c433a1a107b4f220e9">《变色龙》</a>
              <a href="/bookDetil/?id=5ac0e7f691d01322f08927f7">《草原》</a>
              <a href="/bookDetil/?id=5ac0e80291d01322f08927f8">《凡卡》</a>
            </dd>
            <dt>列夫·托尔斯泰</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0e82591d01322f08927fa">《安娜·卡列尼娜》</a>
              <a href="/bookDetil/?id=5ac0e82a91d01322f08927fb">《复活》</a>
              <a href="/bookDetil/?id=5ab8e7f433a1a107b4f220ec">《战争与和平》</a>
              <a href="/bookDetil/?id=5ac0e84291d01322f08927fc">《一个地主的早晨》</a>
              <a href="/bookDetil/?id=5ac0e84c91d01322f08927fd">《黑暗的势力》</a>
            </dd>
          </div>
          <div class="import_list headerBookList">
            <dt>鲁迅</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0e87891d01322f0892800">《朝花夕拾》</a>
              <a href="/bookDetil/?id=5ac0e87e91d01322f0892801">《野草》</a>
              <a href="/bookDetil/?id=5ac0e88691d01322f0892802">《华盖集》</a>
              <a href="/bookDetil/?id=5ac0e86c91d01322f08927ff">《彷徨》</a>
              <a href="/bookDetil/?id=5ab8e84633a1a107b4f220ef">《呐喊》</a>
            </dd>
            <dt>冰心</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e87d33a1a107b4f220f1">《繁星》</a>
              <a href="/bookDetil/?id=5ac0e8f391d01322f0892805">《春水》</a>
              <a href="/bookDetil/?id=5ac0e90991d01322f0892808">《往事》</a>
              <a href="/bookDetil/?id=5ac0e8f991d01322f0892806">《超人》</a>
              <a href="/bookDetil/?id=5ac0e90491d01322f0892807">《寄小读者》</a>
            </dd>
            <dt>老舍</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e89e33a1a107b4f220f3">《骆驼祥子》</a>
              <a href="/bookDetil/?id=5ac0e99991d01322f089280b">《四世同堂》</a>
              <a href="/bookDetil/?id=5ac0ea0291d01322f089280e">《小坡的生日》</a>
              <a href="/bookDetil/?id=5ac0e9a091d01322f089280c">《茶馆》</a>
              <a href="/bookDetil/?id=5ac0e9ec91d01322f089280d">《猫城记》</a>
            </dd>
            <dt>沈从文</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e8b633a1a107b4f220f5">《边城》</a>
              <a href="/bookDetil/?id=5ac0ea4a91d01322f0892811">《长河》</a>
              <a href="/bookDetil/?id=5ac0ea7391d01322f0892813">《湘西》</a>
              <a href="/bookDetil/?id=5ac0ea3191d01322f0892810">《老实人》</a>
              <a href="/bookDetil/?id=5ac0ea6391d01322f0892812">《从文自传》</a>
            </dd>
          </div>
          <div class="import_list headerBookList">
            <dt>张爱玲</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e8df33a1a107b4f220f7">《半生缘》</a>
              <a href="/bookDetil/?id=5ac0ea9291d01322f0892815">《金锁记》</a>
              <a href="/bookDetil/?id=5ac0eaa391d01322f0892816">《倾城之恋》</a>
              <a href="/bookDetil/?id=5ac0eab091d01322f0892817">《红玫瑰与白玫瑰》</a>
              <a href="/bookDetil/?id=5ac0eab791d01322f0892818">《小团圆》</a>
            </dd>
            <dt>严歌苓</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e90833a1a107b4f220f9">《陆犯焉识》</a>
              <a href="/bookDetil/?id=5ac0eaea91d01322f089281a">《芳华》</a>
              <a href="/bookDetil/?id=5ac0eaf991d01322f089281b">《金陵十三钗》</a>
              <a href="/bookDetil/?id=5ac0eb0091d01322f089281c">《寄居者》</a>
              <a href="/bookDetil/?id=5ac0eb0891d01322f089281d">《小姨多鹤》</a>
            </dd>
            <dt>茅盾</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0eb2d91d01322f0892820">《霜叶红似二月花》</a>
              <a href="/bookDetil/?id=5ac0eb2391d01322f089281f">《子夜》</a>
              <a href="/bookDetil/?id=5ac0eb3291d01322f0892821">《春蚕》</a>
              <a href="/bookDetil/?id=5ac0eb5b91d01322f0892822">《卖豆腐的哨子》</a>
              <a href="/bookDetil/?id=5ab8e92933a1a107b4f220fb">《白杨礼赞》</a>
            </dd>
            <dt>东野圭吾</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e94333a1a107b4f220fd">《解忧杂货店》</a>
              <a href="/bookDetil/?id=5ac0eb7d91d01322f0892824">《放学后》</a>
              <a href="/bookDetil/?id=5ac0eb8891d01322f0892826">《白夜行》</a>
              <a href="/bookDetil/?id=5ac0eb8391d01322f0892825">《秘密》</a>
              <a href="/bookDetil/?id=5ac0eb9591d01322f0892827">《神探伽利略》</a>
            </dd>
          </div>
          <div class="import_list headerBookList">
            <dt>艾青</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e97633a1a107b4f220ff">《北方》</a>
              <a href="/bookDetil/?id=5ac0ebc091d01322f0892829">《归来的歌》</a>
              <a href="/bookDetil/?id=5ac0ebd191d01322f089282a">《他死在第二次》</a>
              <a href="/bookDetil/?id=5ac0ebda91d01322f089282b">《旷野》</a>
              <a href="/bookDetil/?id=5ac0ebe691d01322f089282c">《黎明的通知》</a>
            </dd>
            <dt>朱自清</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e99333a1a107b4f22101">《荷塘月色》</a>
              <a href="/bookDetil/?id=5ac0ebfe91d01322f089282e">《春》</a>
              <a href="/bookDetil/?id=5ac0ec0491d01322f089282f">《绿》</a>
              <a href="/bookDetil/?id=5ac0ec0d91d01322f0892830">《背影》</a>
              <a href="/bookDetil/?id=5ac0ec1391d01322f0892831">《匆匆》</a>
            </dd>
            <dt>巴金</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0f54b91d01322f089284f">《春》</a>
              <a href="/bookDetil/?id=5ac0f55091d01322f0892850">《秋》</a>
              <a href="/bookDetil/?id=5ac0f55d91d01322f0892851">《雨》</a>
              <a href="/bookDetil/?id=5ac0f56391d01322f0892852">《电》</a>
              <a href="/bookDetil/?id=5ab8e9ad33a1a107b4f22103">《家》</a>
            </dd>
            <dt>林语堂</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0ec6391d01322f0892833">《吾国与吾民》</a>
              <a href="/bookDetil/?id=5ac0ec6991d01322f0892834">《生活的艺术》</a>
              <a href="/bookDetil/?id=5ac0ec6f91d01322f0892835">《老子的智慧》</a>
              <a href="/bookDetil/?id=5ac0ec8e91d01322f0892836">《啼笑皆非》</a>
              <a href="/bookDetil/?id=5ab8e9ce33a1a107b4f22105">《京华烟云》</a>
            </dd>
          </div>
          <div class="import_list headerBookList">
            <dt>徐志摩</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e9f333a1a107b4f22107">《翡冷翠的一夜》</a>
              <a href="/bookDetil/?id=5ac0ed8e91d01322f0892838">《志摩的诗》</a>
              <a href="/bookDetil/?id=5ac0ed9891d01322f0892839">《猛虎集》</a>
              <a href="/bookDetil/?id=5ac0edac91d01322f089283a">《爱眉小札》</a>
              <a href="/bookDetil/?id=5ac0edb391d01322f089283b">《落叶》</a>
            </dd>
            <dt>北岛</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8ea2333a1a107b4f22109">《北岛诗选》</a>
              <a href="/bookDetil/?id=5ac0ef5591d01322f089283f">《零度以上的风景》</a>
              <a href="/bookDetil/?id=5ac0ef6091d01322f0892840">《八月的梦游者》</a>
              <a href="/bookDetil/?id=5ac0ef6891d01322f0892841">《陌生的海滩》</a>
              <a href="/bookDetil/?id=5ac0ef7391d01322f0892842">《时间的玫瑰》</a>
            </dd>
            <dt>戴望舒</dt>
            <dd>
              <a href="/bookDetil/?id=5ab8e9ad33a1a107b4f22103">《我的记忆》</a>
              <a href="/bookDetil/?id=5ab8e9ad33a1a107b4f22103">《灾难的岁月》</a>
              <a href="/bookDetil/?id=5ac0efce91d01322f0892844">《我的记忆》</a>
              <a href="/bookDetil/?id=5ac0efe991d01322f0892847">《戴望舒诗集》</a>
              <a href="/bookDetil/?id=5ab8ea3d33a1a107b4f2210b">《望舒草》</a>
            </dd>
            <dt>顾城</dt>
            <dd>
              <a href="/bookDetil/?id=5ac0f06491d01322f0892849">《一代人》</a>
              <a href="/bookDetil/?id=5ac0f07091d01322f089284a">《白昼的月亮》</a>
              <a href="/bookDetil/?id=5ac0f07791d01322f089284b">《黑眼睛》</a>
              <a href="/bookDetil/?id=5ac0f07f91d01322f089284c">《我是一个任性的孩子》</a>
              <a href="/bookDetil/?id=5ab8ea5233a1a107b4f2210d">《顾城的诗》</a>
            </dd>
          </div>
        </div>
      </div>
      <!--结束-->
      <div class="dao_list">
        <a href="javascript:;" au="a">首页</a>
        <a href="javascript:;" au="b">超级套装</a>
        <a href="/classify?colmun_id=5ab44aca77e60c227cc9fa26" au="c">世界文学</a>
        <a href="/classify?colmun_id=5ab44ae177e60c227cc9fa29" au="d">中国文学</a>
        <a href="/classify?colmun_id=5ab44aee77e60c227cc9fa2b" au="e">小说天地</a>
        <a href="/classify?colmun_id=5ab44af977e60c227cc9fa2d" au="f">散文花园</a>
        <a href="/classify?colmun_id=5ab44b0377e60c227cc9fa2f" au="g">诗歌精选</a>
      </div>
    </nav>
  </section>
  <!--轮播-->
  <div id="banner_tabs" class="flexslider">
    <ul class="slides">
      <li>
        <a title="" href="#">
          <img width="1920" height="500" src="images/slider1.jpg">
        </a>
      </li>
      <li>
        <a title="" href="#">
          <img width="1920" height="500" src="images/slider2.jpg">
        </a>
      </li>
      <li>
        <a title="" href="#">
          <img width="1920" height="500" src="images/slider3.jpg">
        </a>
      </li>
      <li>
        <a title="" href="#">
          <img width="1920" height="500" src="images/slider4.jpg">
        </a>
      </li>
    </ul>
    <ul class="flex-direction-nav">
      <li>
        <a class="flex-prev" href="javascript:;">Previous</a>
      </li>
      <li>
        <a class="flex-next" href="javascript:;">Next</a>
      </li>
    </ul>
    <ol id="bannerCtrl" class="flex-control-nav flex-control-paging">
      <li class="active">
        <a>1</a>
      </li>
      <li>
        <a>2</a>
      </li>
      <li>
        <a>2</a>
      </li>
      <li>
        <a>2</a>
      </li>
    </ol>
  </div>
  <!--楼层分布图-->

  <div class="fixed_position">
    <div class="fixed_position_1">
      <ul>
        <li>超级套装</li>
        <li>世界文学</li>
        <li>中国文学</li>
        <li>小说天地</li>
        <li>散文花园</li>
        <li>诗歌精选</li>
        <li>猜你喜欢</li>
      </ul>
    </div>
  </div>
  <!--福包专区-->
  <span class="as blessing_package">
    <h3 style="color:#3cb371">超级套装
      <font>每日精选，好礼优惠不停</font>
      <a href="#">更多套装</a>
    </h3>
  </span>
  <div class="three_fb">
    <ul>
      <li>
        <light>
          <img src="/images/saoguang1.png">
        </light>
        <a href="javascript:;">
          <img src="/images/slider-img/gao2.jpg">
        </a>
        <span>价值288元</span>
        <a href="#">查看套装</a>
        <em>200人已购买</em>
      </li>
      <li>
        <light>
          <img src="/images/saoguang1.png">
        </light>
        <a href="javascript:;">
          <img src="/images/slider-img/gao3.jpg">
        </a>
        <span>价值288元</span>
        <a href="#">查看套装</a>
        <em>200人已购买</em>
      </li>
      <li>
        <light>
          <img src="/images/saoguang1.png">
        </light>
        <a href="javascript:;">
          <img src="/images/slider-img/gao4.jpg">
        </a>
        <span>价值288元</span>
        <a href="#">查看套装</a>
        <em>200人已购买</em>
      </li>
    </ul>
  </div>

<!--按栏目-作者分类-->
<%var k=0%>
<%for(var j=0;j<colmun.length;j++){%>
<span class="as blessing_package">
<a href="javascript:;" style=" color:#3CB371">
  <h3 style="float:left">&nbsp;
    <%=colmun[j].name%>
      <span class=" fa fa-mail-forward" style="color:#3CB371;float:left"></span>
  </h3>
</a>
<div class="detailed_navigation">
  <ul>
    <li class="dog yadi" onclick="queryBook('<%=author[k]._id%>','<%=j%>')">
      <%=author[k].name%>
    </li>
    <li class="dog" onclick="queryBook('<%=author[k+1]._id%>','<%=j%>')">
      <%=author[k+1].name%>
    </li>
    <li class="dog" onclick="queryBook('<%=author[k+2]._id%>','<%=j%>')">
      <%=author[k+2].name%>
    </li>
    <li class="dog" onclick="queryBook('<%=author[k+3]._id%>','<%=j%>')">
      <%=author[k+3].name%>
    </li>
  </ul>
</div>
</span>
<div>
<div class="currency">
  <ul id="indexBook_list_<%=j%>">
    <%for(var i=0;i<book[j].length;i++){%>
      <li>
        <a href="/bookDetil/?id=<%=book[j][i]._id%>">
          <img src="images/books/<%=book[j][i].img%>" style=" margin:0 auto; display:block; width:210px; height:220px">
        </a>
        <light1>
          <img src="images/saoguang.png">
        </light1>
        <a href="/bookDetil/?id=<%=book[j][i]._id%>">
          <p>
            <%=book[j][i].name%>
          </p>
          <p style="margin-left:12px">
            <%=book[j][i].author_id.name%>
          </p>
        </a>
        <span>￥
          <%=book[j][i].money%>
        </span>
        <em>
          <a href="javascript:;" onclick="shoucang('<%=book[j][i]._id%>')">收藏</a>
          <a href="javascript:;" class="add_scar" onclick="join('<%=book[j][i]._id%>')">加入购物车</a>
        </em>
      </li>
      <%}%>
  </ul>
</div>
</div>
<%k+=4%>
<%}%>

<div class="as kongzhianniu">
  <div class="lunbobanner">
    <ul class="lunboimg">
      <li>
        <%for(var i=0;i<book[2].length;i++){%>
        <a href="/bookDetil/?id=<%=book[2][i]._id%>">
          <b>
            <img src="images/books/<%=book[2][i].img%>" style=" margin:0 auto; display:block; width:210px; height:220px">
          </b>
          <p><%=book[2][i].name%></p>
          <p style="margin-left:12px"><%=book[2][i].author_id.name%></p>
          <span>￥<%=book[2][i].money%></span>
        </a>
        <%}%>
      </li>
      <li>
        <%for(var i=0;i<book[4].length;i++){%>
          <a href="/bookDetil/?id=<%=book[4][i]._id%>">
            <b>
              <img src="images/books/<%=book[4][i].img%>" style=" margin:0 auto; display:block; width:210px; height:220px">
            </b>
            <p>
              <%=book[4][i].name%>
            </p>
            <p style="margin-left:12px">
              <%=book[4][i].author_id.name%>
            </p>
            <span>￥
              <%=book[4][i].money%>
            </span>
          </a>
          <%}%>
      </li>
    </ul>
  </div>
  <div class="btnl">
    <</div>
      <div class="btnr">></div>
      <h4 class="guanfangremai"><span class=" fa fa-heart"></span> 猜你喜欢</h4>
  </div>
  </div>
  <!--页脚-->
  <div class="foots">
    <div class="foots_in">
      <em>CopyRight © 2018 备：豫ICP备18012750号 栗豪 All Rights Reserved</em>
    </div>
  </div>
  <!--侧边栏-->
  <div class="toolbar">
    <a href="/shopCar" class="toolbar-item toolbar-item-weixin" style=" position:relative">
    </a>
    <a href="#" class="toolbar-item toolbar-item-feedback"></a>
    <a href="#" class="toolbar-item toolbar-item-app">
      <span class="toolbar-layer"></span>
    </a>
    <a href="javascript:scroll(0,0)" id="top" class="toolbar-item toolbar-item-top"></a>
  </div>
  <!--购物车fly插件-->
</body>
<script src="javascripts/jquery-1.8.3.min.js"></script>
<script src="javascripts/jquery.fly.min.js" async></script>
<script src="javascripts/layer/layer.js" async></script>
<script src="javascripts/prettify.min.js" async></script>
<script src="javascripts/public.js"></script>
<script src="javascripts/login.js" async></script>
<script>document.createElement("top")</script>
<script>document.createElement("search")</script>
<script>document.createElement("light")</script>
<script>document.createElement("light1")</script>
<script>
window.onload=function(){
  $("top").animate({ 'margin-top': '0' }, 2000)
  $(".advertisement").animate({ 'top': '30', 'opacity': '1' }, 200)
  $(".flexslider").animate({ 'margin-top': '0' }, 200)
  $("aside").animate({ 'top': '30', 'opacity': '1' }, 200)
  $("top").animate({ 'margin-top': '-400' }, 1000)
}
</script>

</html>